package com.nciae.enums;

public enum ProductStatusInfoEnum implements CodeEnum{
    PUT(0,"正常"),
    OFF(1,"下架"),
    EMPTY(0, "库存为空")
    ;
    // 枚举状态码
    private Integer code;
    // 枚举信息
    private String message;

    ProductStatusInfoEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
